package com.wgchao.identityrightsmanagement.domain.organization.model;

import com.wgchao.identityrightsmanagement.domain.DomainEvent;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Date;
import java.util.List;

/**
 * @ClassName: AssignedOfficesToDepartmentEvent
 * @author: wgchao
 * @createTime: 2020/6/27 6:07 PM
 * @Description: 为部门分配职位事件
 */
@AllArgsConstructor
@Getter
public class AssignedOfficesToDepartmentEvent implements DomainEvent {
    private Date occuredOn;
    private String departmentCode;
    private List<String> officeCodes;
    private String operator;

    @Override
    public Date occuredOn() {
        return occuredOn;
    }
}
